package com.iwhalecloud.springcloud.eureka.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by lib.
 * Date: 2019-01-02
 */
@Component
@FeignClient(name= "eureka-provider-demo")
public interface TestRemote {
    @RequestMapping(value = "/test")
    public String hello(@RequestParam(value = "name") String name);
}
